<template>
	<view class="container">
		<view class="dl">
			<view class="dt">
				<view class="line"></view>
				<view class="p">
					待转链文本
				</view>
			</view>
			
			<view class="dd">
				<textarea class="textarea" v-model="remark" placeholder="请输入待转链文本" />
			</view>
		</view>
		
		<button class="btn" @click="onSubmitClick">
			<text>转链</text>
		</button>
		
		<button class="btn btn-reset" @click="onResetClick">
			<text>清空</text>
		</button>
	</view>
</template>

<script>
	const _ = require("@/libs/underscore/underscore-min.js")._
	
	export default {
		data() {
			return {
				remark: ""
			};
		},
		
		onLoad (options) {
			this.id = options.id || null
		},
		
		methods: {
			onResetClick () {
				this.remark = ""
			},
			
			onSubmitClick () {}
		}
	}
</script>


<style>
	page{
		background: #F2F2F2;
	}
</style>

<style lang="less" scoped>
	.dl{
		
		.dt{
			display: flex;
			height: 92px;
			align-items: center;
			padding-left: 30px;
			
			.line{
				height: 30px;
				width: 4px;
				background: #FF3660;
				margin-right: 30px;
			}
			
			.p{
				font-size: 30px;
				color: #666;
			}
		}
		
		.dd{
			background: #FFFFFF;
			
			.ul{
				padding: 0 30px;
				
				.li{
					display: flex;
					height: 92px;
					align-items: center;
					justify-content: space-between;
					border-top: 1px solid #ddd;
			
					.p{
						font-size: 30px;
						color: #333;
					}
					
					.icon{
						width: 30px;
						height: 30px;
					}
					
					&:first-child{
						border-top: 0px;
					}
				}
			}
			
			.textarea{
				box-sizing: border-box;
				padding: 30px;
				font-size: 28px;
				color: #333;
			}
		}
	}
	
	.btn{
		background: #FF3660;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 12px;
		height: 92px;
		font-size: 30px;
		color: #FFFFFF;
		margin: 80px auto 0;
		width: 660px;
	}
	
	.btn-reset{
		color: #333333;
		margin-top: 30px;
		background: #FFFFFF;
		border: 1px solid #eee;
	}
</style>
